package com.punai.externalccb.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.punai.externalccb.bo.YDCBSummaryBO;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.punai.common.annotation.Excel;
import com.punai.common.core.domain.BaseEntity;

/**
 * cbsummary对象 yd_cbsummary
 *
 * @author tj
 * @date 2023-04-16
 */
public class YdCbsummary extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private String id;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer oid;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer opid;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String xh;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String name;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal yystotal;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal bgystotal;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal ystotal;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal ytargetnototal;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal bgtargetnototal;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal bgtargetamout;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal bgtargetnotaxprice;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal targetnototal;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal yjyenotax;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal yyklnojce;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal yykjnojce;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal yjylnotax;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal bgjyenotax;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal bgyklnojce;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal bgykjnojce;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal bgjylnotax;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal jyenotax;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal yklnojce;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal ykjnojce;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal jylnotax;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal yjxs;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal bgjxs;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal jxs;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String stagetype;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String proId;


    public static YdCbsummary convert(YDCBSummaryBO YDCBSummaryBO) {
        if (YDCBSummaryBO == null) return null;
        YdCbsummary YDCBSummary = new YdCbsummary();
        YDCBSummary.setOid(YDCBSummaryBO.getID());
        YDCBSummary.setOpid(YDCBSummaryBO.getPID());
        YDCBSummary.setXh(YDCBSummaryBO.getXH());
        YDCBSummary.setName(YDCBSummaryBO.getName());
        YDCBSummary.setYystotal(YDCBSummaryBO.getYYsTotal());
        YDCBSummary.setBgystotal(YDCBSummaryBO.getBGYsTotal());
        YDCBSummary.setYstotal(YDCBSummaryBO.getYsTotal());
        YDCBSummary.setYtargetnototal(YDCBSummaryBO.getYTargetNoTotal());
        YDCBSummary.setBgtargetnototal(YDCBSummaryBO.getBGTargetNoTotal());
        YDCBSummary.setBgtargetamout(YDCBSummaryBO.getBGTargetAmout());
        YDCBSummary.setBgtargetnotaxprice(YDCBSummaryBO.getBGTargetNoTaxPrice());
        YDCBSummary.setTargetnototal(YDCBSummaryBO.getTargetNoTotal());
        YDCBSummary.setYjyenotax(YDCBSummaryBO.getYJyeNoTax());
        YDCBSummary.setYyklnojce(YDCBSummaryBO.getYYKLNoJce());
        YDCBSummary.setYykjnojce(YDCBSummaryBO.getYYKJNoJce());
        YDCBSummary.setYjylnotax(YDCBSummaryBO.getYJylNoTax());
        YDCBSummary.setBgjyenotax(YDCBSummaryBO.getBGJyeNoTax());
        YDCBSummary.setBgyklnojce(YDCBSummaryBO.getBGYKLNoJce());
        YDCBSummary.setBgykjnojce(YDCBSummaryBO.getBGYKJNoJce());
        YDCBSummary.setBgjylnotax(YDCBSummaryBO.getBGJylNoTax());
        YDCBSummary.setJyenotax(YDCBSummaryBO.getJyeNoTax());
        YDCBSummary.setYklnojce(YDCBSummaryBO.getYKLNoJce());
        YDCBSummary.setYkjnojce(YDCBSummaryBO.getYKJNoJce());
        YDCBSummary.setJylnotax(YDCBSummaryBO.getJylNoTax());
        YDCBSummary.setYjxs(YDCBSummaryBO.getYJxs());
        YDCBSummary.setBgjxs(YDCBSummaryBO.getBGJxs());
        YDCBSummary.setJxs(YDCBSummaryBO.getJxs());
        return YDCBSummary;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Integer getOpid() {
        return opid;
    }

    public void setOpid(Integer opid) {
        this.opid = opid;
    }

    public String getXh() {
        return xh;
    }

    public void setXh(String xh) {
        this.xh = xh;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getYystotal() {
        return yystotal;
    }

    public void setYystotal(BigDecimal yystotal) {
        this.yystotal = yystotal;
    }

    public BigDecimal getBgystotal() {
        return bgystotal;
    }

    public void setBgystotal(BigDecimal bgystotal) {
        this.bgystotal = bgystotal;
    }

    public BigDecimal getYstotal() {
        return ystotal;
    }

    public void setYstotal(BigDecimal ystotal) {
        this.ystotal = ystotal;
    }

    public BigDecimal getYtargetnototal() {
        return ytargetnototal;
    }

    public void setYtargetnototal(BigDecimal ytargetnototal) {
        this.ytargetnototal = ytargetnototal;
    }

    public BigDecimal getBgtargetnototal() {
        return bgtargetnototal;
    }

    public void setBgtargetnototal(BigDecimal bgtargetnototal) {
        this.bgtargetnototal = bgtargetnototal;
    }

    public BigDecimal getBgtargetamout() {
        return bgtargetamout;
    }

    public void setBgtargetamout(BigDecimal bgtargetamout) {
        this.bgtargetamout = bgtargetamout;
    }

    public BigDecimal getBgtargetnotaxprice() {
        return bgtargetnotaxprice;
    }

    public void setBgtargetnotaxprice(BigDecimal bgtargetnotaxprice) {
        this.bgtargetnotaxprice = bgtargetnotaxprice;
    }

    public BigDecimal getTargetnototal() {
        return targetnototal;
    }

    public void setTargetnototal(BigDecimal targetnototal) {
        this.targetnototal = targetnototal;
    }

    public BigDecimal getYjyenotax() {
        return yjyenotax;
    }

    public void setYjyenotax(BigDecimal yjyenotax) {
        this.yjyenotax = yjyenotax;
    }

    public BigDecimal getYyklnojce() {
        return yyklnojce;
    }

    public void setYyklnojce(BigDecimal yyklnojce) {
        this.yyklnojce = yyklnojce;
    }

    public BigDecimal getYykjnojce() {
        return yykjnojce;
    }

    public void setYykjnojce(BigDecimal yykjnojce) {
        this.yykjnojce = yykjnojce;
    }

    public BigDecimal getYjylnotax() {
        return yjylnotax;
    }

    public void setYjylnotax(BigDecimal yjylnotax) {
        this.yjylnotax = yjylnotax;
    }

    public BigDecimal getBgjyenotax() {
        return bgjyenotax;
    }

    public void setBgjyenotax(BigDecimal bgjyenotax) {
        this.bgjyenotax = bgjyenotax;
    }

    public BigDecimal getBgyklnojce() {
        return bgyklnojce;
    }

    public void setBgyklnojce(BigDecimal bgyklnojce) {
        this.bgyklnojce = bgyklnojce;
    }

    public BigDecimal getBgykjnojce() {
        return bgykjnojce;
    }

    public void setBgykjnojce(BigDecimal bgykjnojce) {
        this.bgykjnojce = bgykjnojce;
    }

    public BigDecimal getBgjylnotax() {
        return bgjylnotax;
    }

    public void setBgjylnotax(BigDecimal bgjylnotax) {
        this.bgjylnotax = bgjylnotax;
    }

    public BigDecimal getJyenotax() {
        return jyenotax;
    }

    public void setJyenotax(BigDecimal jyenotax) {
        this.jyenotax = jyenotax;
    }

    public BigDecimal getYklnojce() {
        return yklnojce;
    }

    public void setYklnojce(BigDecimal yklnojce) {
        this.yklnojce = yklnojce;
    }

    public BigDecimal getYkjnojce() {
        return ykjnojce;
    }

    public void setYkjnojce(BigDecimal ykjnojce) {
        this.ykjnojce = ykjnojce;
    }

    public BigDecimal getJylnotax() {
        return jylnotax;
    }

    public void setJylnotax(BigDecimal jylnotax) {
        this.jylnotax = jylnotax;
    }

    public BigDecimal getYjxs() {
        return yjxs;
    }

    public void setYjxs(BigDecimal yjxs) {
        this.yjxs = yjxs;
    }

    public BigDecimal getBgjxs() {
        return bgjxs;
    }

    public void setBgjxs(BigDecimal bgjxs) {
        this.bgjxs = bgjxs;
    }

    public BigDecimal getJxs() {
        return jxs;
    }

    public void setJxs(BigDecimal jxs) {
        this.jxs = jxs;
    }

    public String getStagetype() {
        return stagetype;
    }

    public void setStagetype(String stagetype) {
        this.stagetype = stagetype;
    }

    public String getProId() {
        return proId;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("oid", getOid())
                .append("opid", getOpid())
                .append("xh", getXh())
                .append("name", getName())
                .append("yystotal", getYystotal())
                .append("bgystotal", getBgystotal())
                .append("ystotal", getYstotal())
                .append("ytargetnototal", getYtargetnototal())
                .append("bgtargetnototal", getBgtargetnototal())
                .append("bgtargetamout", getBgtargetamout())
                .append("bgtargetnotaxprice", getBgtargetnotaxprice())
                .append("targetnototal", getTargetnototal())
                .append("yjyenotax", getYjyenotax())
                .append("yyklnojce", getYyklnojce())
                .append("yykjnojce", getYykjnojce())
                .append("yjylnotax", getYjylnotax())
                .append("bgjyenotax", getBgjyenotax())
                .append("bgyklnojce", getBgyklnojce())
                .append("bgykjnojce", getBgykjnojce())
                .append("bgjylnotax", getBgjylnotax())
                .append("jyenotax", getJyenotax())
                .append("yklnojce", getYklnojce())
                .append("ykjnojce", getYkjnojce())
                .append("jylnotax", getJylnotax())
                .append("yjxs", getYjxs())
                .append("bgjxs", getBgjxs())
                .append("jxs", getJxs())
                .append("stagetype", getStagetype())
                .append("proId", getProId())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
